/*
 RLStyleFormatter.h
 
 Date Created: February 21, 2010
 
 Author: Karol Krizka <kkrizka@gmail.com>
 
 Copyright (C) 2010 Green-Power
 
 URL: http://code.google.com/p/green-power
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 $Id$
 */

#import <Foundation/Foundation.h>

/**
 * Helper class that can format different types of data displayed in the UI.
 * For example, it can format the value of a recycling  as $ 0.00. But if 
 * someone chooses to display cents only, only this class has to be chaged.
 */
@interface RLStyleFormatter : NSObject {

}

/**
 * Formats monetary values.
 *
 * \param value The value to format, in cents
 *
 * \return The value as $0.00
 */
+ (NSString *)formatMonetaryValue:(NSUInteger)value;

/**
 * Formats dates.
 *
 * \param date The date to format
 *
 * \return The value as "February 21, 2010 10:00 AM"
 */
+ (NSString *)formatDate:(NSDate *)date;

@end
